﻿// Admin.NET 项目的版权、商标、专利和其他相关权利均受相应法律法规的保护。使用本项目应遵守相关法律法规和许可证的要求。
//
// 本项目主要遵循 MIT 许可证和 Apache 许可证（版本 2.0）进行分发和使用。许可证位于源代码树根目录中的 LICENSE-MIT 和 LICENSE-APACHE 文件。
//
// 不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动！任何基于本项目二次开发而产生的一切法律纠纷和责任，我们不承担任何责任！

using Admin.NET.Core;
using SqlSugar;
namespace Admin.NET.Application.Entity;

/// <summary>
/// 货品信息表
/// </summary>
[Tenant("1300000000001")]
[SugarTable("goodsinfo", "货品信息表")]
public class Goodsinfo : EntityBaseDel
{
    /// <summary>
    /// 货品名称
    /// </summary>
    [SugarColumn(ColumnName = "GoodsName", ColumnDescription = "货品名称", Length = 32)]
    public virtual string? GoodsName { get; set; }
    
    /// <summary>
    /// 货品编号
    /// </summary>
    [SugarColumn(ColumnName = "GoodsNumber", ColumnDescription = "货品编号", Length = 32)]
    public virtual string? GoodsNumber { get; set; }
    
    /// <summary>
    /// 货品类型
    /// </summary>
    [SugarColumn(ColumnName = "GoodsTypeId", ColumnDescription = "货品类型")]
    public virtual long? GoodsTypeId { get; set; }
    
    /// <summary>
    /// 规格型号
    /// </summary>
    [SugarColumn(ColumnName = "SpecificationsModels", ColumnDescription = "规格型号", Length = 32)]
    public virtual string? SpecificationsModels { get; set; }
    
    /// <summary>
    /// 供应商
    /// </summary>
    [SugarColumn(ColumnName = "vendorId", ColumnDescription = "供应商")]
    public virtual long? vendorId { get; set; }
    
    /// <summary>
    /// 客户名称
    /// </summary>
    [SugarColumn(ColumnName = "CustomersId", ColumnDescription = "客户名称")]
    public virtual long? CustomersId { get; set; }
    
    /// <summary>
    /// 入库参考价
    /// </summary>
    [SugarColumn(ColumnName = "StoragePrice", ColumnDescription = "入库参考价", Length = 32, DecimalDigits=0)]
    public virtual decimal? StoragePrice { get; set; }
    
    /// <summary>
    /// 出库参考价
    /// </summary>
    [SugarColumn(ColumnName = "OutboundPrice", ColumnDescription = "出库参考价", Length = 32, DecimalDigits=0)]
    public virtual decimal? OutboundPrice { get; set; }
    
    /// <summary>
    /// 顺序
    /// </summary>
    [SugarColumn(ColumnName = "Sort", ColumnDescription = "顺序")]
    public virtual int? Sort { get; set; }
    
    /// <summary>
    /// 状态
    /// </summary>
    [SugarColumn(ColumnName = "Status", ColumnDescription = "状态")]
    public virtual bool? Status { get; set; }
    
    /// <summary>
    /// 保质期管理
    /// </summary>
    [SugarColumn(ColumnName = "ShelfLife", ColumnDescription = "保质期管理", Length = 32)]
    public virtual string? ShelfLife { get; set; }
    
    /// <summary>
    /// 预警天数
    /// </summary>
    [SugarColumn(ColumnName = "EarlyWarningDays", ColumnDescription = "预警天数")]
    public virtual int? EarlyWarningDays { get; set; }
    
    /// <summary>
    /// 备注
    /// </summary>
    [SugarColumn(ColumnName = "Desc", ColumnDescription = "备注", Length = 300)]
    public virtual string? Desc { get; set; }
    
    /// <summary>
    /// 条码
    /// </summary>
    [SugarColumn(ColumnName = "Barcodes", ColumnDescription = "条码", Length = 32)]
    public virtual string? Barcodes { get; set; }
    
    /// <summary>
    /// 当前库存
    /// </summary>
    [SugarColumn(ColumnName = "CurrentInventory", ColumnDescription = "当前库存")]
    public virtual int? CurrentInventory { get; set; }
    
    /// <summary>
    /// 库存总金额
    /// </summary>
    [SugarColumn(ColumnName = "inventoryMoney", ColumnDescription = "库存总金额", Length = 32, DecimalDigits=0)]
    public virtual decimal? inventoryMoney { get; set; }
    
    /// <summary>
    /// 单位
    /// </summary>
    [SugarColumn(ColumnName = "Unitid", ColumnDescription = "单位")]
    public virtual long? Unitid { get; set; }
    
}
